package com.xxxx.yebserver.service;

import com.xxxx.yebserver.entity.Menu;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xxxx.yebserver.vo.MenusWithRoleVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cxq
 * @since 2021-06-15
 */
public interface MenuService extends IService<Menu> {

    List<Menu> getMenusByAdminId();

    List<MenusWithRoleVo> getMenusWithRole();

    List<Menu> getAllTreeMenus();

    Boolean updateMenuRoles(Long rid, Long[] mids);
}
